package crew.gwt.client.widgets;

import com.google.gwt.user.client.ui.HasAlignment;

public class CrewGrid extends com.google.gwt.user.client.ui.Grid 
{
	public CrewGrid(int rows, int columns)
	{
		super(rows, columns);
		this.setStyleName("gwt-Grid");
		
		for(int x = 0; x < columns; ++x)
		{
			for(int y = 0; y < rows; ++y)
			{
				this.getCellFormatter().setAlignment(y,x,HasAlignment.ALIGN_LEFT, HasAlignment.ALIGN_TOP);
			}
		}
	}
}
